package com.example.demo;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
* the UserEntity type
*
* @author yangjun
*/
@Data
public class UserEntity {

        private String username;

        private LocalDate birthday;

        private LocalDateTime addTime;

        private Integer gender;

        private Integer age;

        @NotNull
        private List<Person> person;

        public static class Person {

        }

}